package com.mike.employment.po;

import java.sql.Date;

import com.mike.employment.base.BaseEntity;

import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@Entity
public class UserInfo extends BaseEntity{

	@Column(length = 20, nullable = false)
	private String name;  //姓名
	@Column(nullable = false)
	private String sex;  //性别
	@Column(nullable = false)
	private Date birth;   //出生日期
	@Column(nullable = false)
	private String home;  //籍贯
	@Column(nullable = false)
	private String nation; //民族
	@Column(nullable = false)
	private String phone; //电话
	@Column(nullable = false)
	private String email;  //邮件
	@Column(nullable = true)
	private String desp;  //个人介绍
	@Column(nullable = true)
	private String address; //家庭住址
	@Column(nullable = false)
	private String degree; //学历
}
